Skip to content

Bump kpi-calculator to 0.4.3rc0#67

Merged
jarsarasty merged 4 commits into
mainfrom
update-kpi-version-to-0.4.3rc0
Jun 17, 2026
Merged

Bump kpi-calculator to 0.4.3rc0#67
jarsarasty merged 4 commits into
mainfrom
update-kpi-version-to-0.4.3rc0

Conversation

@jarsarasty

@jarsarasty jarsarasty commented Jun 17, 2026

Copy link
Copy Markdown
Contributor
  • Pins kpi-calculator to ==0.4.3rc0 and regenerates lock files
  • Strengthens KPI integration tests: removes _run_simulator_skip_on_value_error (which masked warning tests by swallowing ValueError before the warning path), rewrites TestKPIDefaultWarnings to unit-test _parse_float_config directly with sentinel strings, and replaces vacuous structure assertions with meaningful ones
  • Fixes setUpClass exception handling: narrows except Exception to except RuntimeError so infrastructure failures skip cleanly while simulator logic errors surface as test failures; fixes debug ESDL cleanup to use a dedicated tempdir instead of globbing the working directory

 Update integration tests to raise warning and guard against a pre-existing
simulation ValueError that surfaced with the updated dependencies.

  - Guard warning tests against ValueError from simulator-core (skipped, not failed)
  - Extract duplicate ValueError guard into _run_simulator_skip_on_value_error()
  - Remove redundant AAA comments where no local arrange step exists
  - Merge TestKPIOutputEsdlStructure and TestKPICostValues into a single
    class to avoid running the simulator twice for identical conditions
  - Add None guard for area.KPIs in setUpClass
  - Restore pandas-stubs ~= 2.1.1 to dev deps (fixes mypy import-untyped error)
  - Pin kpi-calculator to ~= 0.4.2 (stable release)
@jarsarasty jarsarasty force-pushed the update-kpi-version-to-0.4.3rc0 branch from 4f0a025 to e2cd84a Compare June 17, 2026 11:22
@jarsarasty jarsarasty marked this pull request as ready for review June 17, 2026 11:25
@jarsarasty jarsarasty requested a review from samvanderzwan June 17, 2026 11:50

@samvanderzwan samvanderzwan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
Small comment on version change of pandastubs, but that is no stopper to merge it.

Comment thread dev-requirements.txt
@jarsarasty jarsarasty merged commit f02b49b into main Jun 17, 2026
4 checks passed
@jarsarasty jarsarasty deleted the update-kpi-version-to-0.4.3rc0 branch June 17, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants